lib/commit: Honor commit filter for libarchive --tar-autocreate-parents
authorColin Walters <walters@verbum.org>
Wed, 23 Aug 2017 14:09:44 +0000 (10:09 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 23 Aug 2017 14:48:12 +0000 (14:48 +0000)
commiteb6f7c6db83ce384f89a142f173c2c064dad2f33
treec708c35a5724306decca55ee0762f5c7f2832fb1
parent556e2deb93e5af5a60e83da4bec5b218831a513f
lib/commit: Honor commit filter for libarchive --tar-autocreate-parents

This makes `ostree commit --tree=tar` honor `--owner-uid` and `--owner-gid`
for the root directory.

Prep for further commit filtering work, although mostly for the unit test cases;
this ensures we can use `ostree checkout` after autocreating a root directory.

Closes: #1104
Approved by: jlebon
src/libostree/ostree-repo-libarchive.c
tests/test-libarchive.sh